import request from '../utils/request.js'
// 向外暴露

//获取搜索推荐列表数据
export function getSearchSuggentions(q){
  return request({
    method:'GET',
    url:'/v1_0/suggestion',
    params:{
      q
    }
  })
}
//获取搜索结果数据
export function getSearchResult(params){
  return request({
    method:'GET',
    url:'/v1_0/search',
    params
  })
}